package com.zsx.demo;

import java.util.Scanner;

/**
 * 〈2〉
 *
 * @author zhangsixian
 * @create 2021/6/11
 * @since 1.0.0
 */
public class Test2 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        for (int i = 0; i < n; i++) {
            int a = s.nextInt();
            int b = s.nextInt();
            System.out.println(a + b);
        }
    }
}
